index
:
serenity
aliases-fix
asref_messageid_for_message
cmd-aliases-fix
colour_hex
debug
fix-default-command-upon-shortcut-prefix
fix_dead_link_in_readme
fix_message_update
group-checks
group-default-command
master
new-mentionable
old_message_on_update
old_message_on_update_v2
routing-fixes
upstream
v0.4.x
v0.6.x
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
examples
/
07_sample_bot_structure
/
src
/
commands
/
owner.rs
blob: 7836b8fb59aff171c587c425bd6616ce0271aa79 (
plain
) (
blame
)
1
2
3
4
5
command
!
(
quit
(
ctx
,
msg
,
_args
)
{
ctx
.
quit
();
let
_
=
msg
.
reply
(
"Shutting down!"
);
});