bug: cannot fetch invites as bot
Closed this issue · 1 comments
toastxc commented
What happened?
The route invites_fetch.rs
in Delta checks if the request has come from a bot
if user.bot.is_some() {
return Err(Error::IsBot);
}
However I don't think this is necessary, given that bots can't accept invites anyway.
The solution would be to simply remove this check.