kangalio

Results 168 comments of kangalio

I am now able to test myself, and can confirm it works ![Screenshot_20220917_101741](https://user-images.githubusercontent.com/21220820/190847477-da270e81-e4c6-4ada-a303-f3ec3b912720.png) The printed channel ID is indeed the category channel ID, I checked. Code used: ```rust async fn...

The application ID is now retrieved from gateway which is more robust and just as convenient for the user

> No, mentioning that guild_id is only got from the message event in the documentation should happen first. And if possible, the field could be filled from cache. Done in...

We can also put a redirection HTML at serenity-rs.github.io/serenity like I do in poise: https://github.com/kangalioo/poise/blob/gh-pages/index.html

This issue can be closed

It's probably easier to test bot logic by decoupling it from Discord. So, extract your commands into simple functions without serenity types in them and unit test those. The actual...

I made an example for you Here's a straightforward math eval command: https://github.com/kangalioo/serenity/blob/fab45692c89d8a7fc27b2a11f029a22e53250d9d/examples/e05_command_framework/src/main.rs#L615-L644 Then I [extracted the inner logic and added unit tests](https://github.com/kangalioo/serenity/commit/c2f5c8b977971e9502fcc4c524892179cc40cdc1) (and [shortened the code](https://github.com/kangalioo/serenity/commit/1a6dc0cf90aa0e40741b8f95ea8f62fff984c79c)). Now it looks...

I can understand that point of view. FWIW to me the automatic re-ordering seems intuitive, in fact I previously assumed Discord did exactly that behind the scenes. But of course...

set_application_commands_permissions was deprecated in next minor version (#2077) and removed in next breaking version (#2078) This issue can be closed