if someone could give me tips on how to write better rust code/how to improve this it would be greatly appreciated
https://github.com/mzh-tbg/userphone
#Code review - discord userphone
10 messages · Page 1 of 1 (latest)
Updated it ^
taking a look at it one thing that jumps out is that you created a print function, but i think a logging library like pretty_env_logger might be nicer
what does the usage of the bot look like?
You run ~call or any of its aliases (slash as well) and it waits for checks if anyone is in teh wait queue otherwise it puts u in the wait queue
then once another server does the command
all messages sent will be sent to the linked channel with a webhook
avatar and the username will be on the webhook when the message is sent
the u can skip to someone else in teh wait queue if ur inside a call or do ~hangup to end it
oops mentions