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
84346539
Unverified
Commit
84346539
authored
Dec 18, 2019
by
tec
Browse files
Skeletal start to reaction roles
parent
f36acc3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/reaction_roles.rs
0 → 100644
View file @
84346539
#[derive(Debug,
Clone)]
struct
ReactionMapping
{
mapping
:
HashMap
<
serenity
::
model
::
id
::
EmojiId
,
serenity
::
model
::
id
::
RoleId
>
,
}
lazy_static!
{
static
ref
REACTIONS_CACHE
:
Mutex
<
HashMap
<
serenity
::
model
::
id
::
MessageId
,
ReactionMapping
>>
=
Mutex
::
new
(
HashMap
::
new
());
}
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