aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-01-16 13:30:47 -0500
committerCara Salter <cara@devcara.com>2022-01-16 13:30:47 -0500
commit4c804b3a85e2eee6dffc5a2bf0545814aaa12b95 (patch)
treefc261b2f2c4827027f9b6d19e1eef72c596e2130 /src/main.rs
parenteb41fede91d072693b279f908976d2ebc2ba1ca3 (diff)
downloadglitch-ng-4c804b3a85e2eee6dffc5a2bf0545814aaa12b95.tar.gz
glitch-ng-4c804b3a85e2eee6dffc5a2bf0545814aaa12b95.zip
rroles: Implement add and del
Also abstract updating the menu into its own function
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 4698fb1..bfd39c7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -70,7 +70,7 @@ async fn main() {
commands::osu::osup(),
commands::osu::osubm(),
poise::Command {
- subcommands: vec![commands::reactionroles::init()],
+ subcommands: vec![commands::reactionroles::init(), commands::reactionroles::add(), commands::reactionroles::del(),],
..commands::reactionroles::rroles()
},
],