Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EC Hackers
DiscordBots
Commits
52f7874b
Commit
52f7874b
authored
Oct 01, 2020
by
IS1_4M
Browse files
made main bot code
parent
c4fd80a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
TestBot/Community_Build_Bot/BottyBuildMain.py
View file @
52f7874b
...
...
@@ -35,7 +35,7 @@ def is_auth(channel, auth_channel_name):
auth_channel
=
'auth'
domain_dest
=
'@earlham.edu'
send_account_email
=
'earlhamhackerscontrol@gmail.com'
with
open
(
'../../../ECHackersBotCreds/credentials
_test_bot
.json'
)
as
file
:
with
open
(
'../../../ECHackersBotCreds/credentials.json'
)
as
file
:
credentials
=
json
.
load
(
file
)
student_role_name
=
'ECStudent'
...
...
TestBot/Community_Build_Bot/handles.py
View file @
52f7874b
...
...
@@ -10,7 +10,7 @@ from datetime import datetime
from
random
import
random
import
json
with
open
(
'../../../ECHackersBotCreds/credentials
_test_bot
.json'
)
as
file
:
with
open
(
'../../../ECHackersBotCreds/credentials.json'
)
as
file
:
credentials
=
json
.
load
(
file
)
auth_channel
=
'auth'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment