Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
Discord Bot
Commits
d2a5968d
Commit
d2a5968d
authored
Aug 10, 2019
by
Tom Almeida
Committed by
tec
Aug 11, 2019
Browse files
Make the discord token a static variable
parent
4aea130f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
d2a5968d
...
...
@@ -8,6 +8,8 @@ use rand::Rng;
static
DISCORD_TOKEN
:
&
str
=
include_str!
(
"discord_token"
);
static
DISCORD_TOKEN
:
&
str
=
include_str!
(
"discord_token"
);
static
SERVER_ID
:
u64
=
606351521117896704
;
// #general
static
MAIN_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
...
...
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