Change prefix
Closed this issue · 2 comments
rikusen0335 commented
I want to change prefix like -ping
, is this can do?
Or may I miss the function?
cronokirby commented
Yeah, you can do Cogs.set_prefix("-")
to set the prefix to "-" this also works with any arbitrary string.
See https://hexdocs.pm/discord_alchemy/Alchemy.Cogs.html#set_prefix/1 for more info :)
rikusen0335 commented
Thanks. That's helpful for me!