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
Ash
Discord Bot
Commits
e3172c63
Unverified
Commit
e3172c63
authored
Oct 20, 2019
by
tec
Browse files
Add test server and ucc server config
parent
072bff8f
Changes
2
Show whitespace changes
Inline
Side-by-side
src/config.test.rs
0 → 100644
View file @
e3172c63
use
serenity
;
pub
static
DISCORD_TOKEN
:
&
str
=
include_str!
(
"discord_token"
);
pub
static
SERVER_ID
:
u64
=
606351521117896704
;
// #general
pub
static
MAIN_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
606351521117896706
);
// #the-corner
pub
static
WELCOME_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
606351613816209418
);
// #general
pub
static
ANNOUNCEMENT_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
606351521117896706
);
pub
static
BOT_ID
:
u64
=
607078903969742848
;
pub
static
VOTE_POOL_SIZE
:
i8
=
2
;
pub
static
VOTE_ROLE
:
u64
=
607478818038480937
;
pub
static
TIEBREAKER_ROLE
:
u64
=
607509283483025409
;
pub
static
UNREGISTERED_MEMBER_ROLE
:
u64
=
608282247350714408
;
pub
static
REGISTERED_MEMBER_ROLE
:
u64
=
608282133118582815
;
pub
static
COMMAND_PREFIX
:
&
str
=
"!"
;
pub
static
FOR_VOTE
:
&
str
=
"👍"
;
pub
static
AGAINST_VOTE
:
&
str
=
"👎"
;
pub
static
ABSTAIN_VOTE
:
&
str
=
"🙊"
;
pub
static
APPROVE_REACT
:
&
str
=
"⬆"
;
pub
static
DISAPPROVE_REACT
:
&
str
=
"⬇"
;
pub
static
UNSURE_REACT
:
&
str
=
"❔"
;
pub
static
ALLOWED_REACTS
:
&
[
&
'static
str
]
=
&
[
FOR_VOTE
,
AGAINST_VOTE
,
ABSTAIN_VOTE
,
APPROVE_REACT
,
DISAPPROVE_REACT
,
UNSURE_REACT
,
];
src/config.ucc.rs
0 → 100644
View file @
e3172c63
use
serenity
;
pub
static
DISCORD_TOKEN
:
&
str
=
include_str!
(
"discord_token"
);
pub
static
SERVER_ID
:
u64
=
264401248676085760
;
// #ucc
pub
static
MAIN_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
264401248676085760
);
// #welcome
pub
static
WELCOME_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
606750983699300372
);
// #committee
pub
static
ANNOUNCEMENT_CHANNEL
:
serenity
::
model
::
id
::
ChannelId
=
serenity
::
model
::
id
::
ChannelId
(
264411219627212801
);
pub
static
BOT_ID
:
u64
=
607078903969742848
;
pub
static
VOTE_POOL_SIZE
:
i8
=
7
;
pub
static
VOTE_ROLE
:
u64
=
269817189966544896
;
pub
static
TIEBREAKER_ROLE
:
u64
=
635370432568098817
;
pub
static
UNREGISTERED_MEMBER_ROLE
:
u64
=
0
;
// does not exist
pub
static
REGISTERED_MEMBER_ROLE
:
u64
=
0
;
// does not exist
pub
static
COMMAND_PREFIX
:
&
str
=
"!"
;
pub
static
FOR_VOTE
:
&
str
=
"👍"
;
pub
static
AGAINST_VOTE
:
&
str
=
"👎"
;
pub
static
ABSTAIN_VOTE
:
&
str
=
"🙊"
;
pub
static
APPROVE_REACT
:
&
str
=
"⬆"
;
pub
static
DISAPPROVE_REACT
:
&
str
=
"⬇"
;
pub
static
UNSURE_REACT
:
&
str
=
"❔"
;
pub
static
ALLOWED_REACTS
:
&
[
&
'static
str
]
=
&
[
FOR_VOTE
,
AGAINST_VOTE
,
ABSTAIN_VOTE
,
APPROVE_REACT
,
DISAPPROVE_REACT
,
UNSURE_REACT
,
];
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