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
f36acc3d
Unverified
Commit
f36acc3d
authored
Dec 18, 2019
by
tec
Browse files
Add TODO
parent
5f350300
Changes
1
Hide whitespace changes
Inline
Side-by-side
TODO.md
0 → 100644
View file @
f36acc3d
# TODO
## Reaction Roles
_Involves: File r/w + parsing, discord reactions_
So, for reaction roles, afaict this is what needs to be done
-
Migrate config.rs to something like
`config.toml`
-
Complete
`reaction_roles.rs`
-
Load from config (roles, and the rr msg, if they exist)
-
Code up the
`!rr init`
command
-
Monitor reactions, update user roles etc.
-
On updated to
`config.toml`
(and on bot load, now that I think of it) overwrite the rr msg with content based on roles in config
-
**Bonus:**
add command like
`!rr add :emoji: role name`
## LDAP Integration
_Involves: LDAP r/w, email,discord nicknames+roles_
-
Add a
`discord_ID`
or similar field to the LDAP database
-
Add a
`!link <ucc-username>`
command, which
-
Created a verification token
-
Perhaps just hash discordID+username with hardcoded salt (is this bad?)
-
Sends an email with a verification token (and instruction to
`!register`
)
-
Goes back to discord and run
`!register <token>`
-
Add a
`!register <token>`
command
-
Do hash, compare, if same update LDAP database
-
Either add
`registered`
role or remove
`unregistered`
-
End result, unable to change nickname
-
Set nickname to something like
`<tla> (<first-name>)`
-
Add a
`!unlink`
command
-
Remove LDAP entry
-
Make able to change nickname again
-
**Bonus:**
be able to specify nickname format for registered users in
`config.toml`
, and add way to update
## Fun with accounts
-
`!dispense <item name>`
-
Dispense the item
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