blackfoot-makers / bf-discord-rbot

discord bot in Rust
https://blackfoot-makers.github.io/discord-rbot/doc/rbot_discord/index.html
MIT License
9 stars 1 forks source link

Ordering of channel is not following discord index's #128

Open GreeFine opened 1 year ago

GreeFine commented 1 year ago

I suspect that discord index are not scoped on the category but globally, thus once a user sends a message in a channel this ordering is broken by discord.

 INFO  rbot_discord::core::eventhandler  > [2023-09-20T14:19:11.331Z](piou) > Piou says: Order prevision:                                                                                                       
Texts:                                                                                                                                                                                                          
[bytel_maryse] 29 => 3                                                                                                                                                                                          
[bytel_mes] 3 => 4                                                                                                                                                                                              
[bytel_portail-mobile] 4 => 5                                                                                                                                                                                   
[bytel_source-mobile] 5 => 6                                                                                                                                                                                    
[c-cube] 6 => 7                                                                                                                                                                                                 
[cdc-cra-rs] 7 => 8                                                                                                                                                                                             
[colas_gd] 8 => 9                                                                                                                                                                                               
[colas_microgen] 9 => 10                                                                                                                                                                                        
[distributed-pixyz] 10 => 11                                                                                                                                                                                    
[eovi-2021] 11 => 12                                                                                                                                                                                            
[epitech-coachingux] 12 => 13                                                                                                                                                                                   
[epitech-modules] 13 => 14                                                                                                                                                                                      
[epitech-secu-2022] 14 => 15                                                                                                                                                                                    
[fdj-aftergame] 15 => 16                                                                                                                                                                                        
[fdj-cellule-inno] 16 => 17                                                                                                                                                                                     
[fdj-innomillions] 17 => 18                                                                                                                                                                                     
[fdj-pdv] 91 => 19                                                                                                                                                                                              
[fdj-pdv-lab] 19 => 20                                                                                                                                                                                          
[fdj-resolvit] 20 => 21                                                                                                                                                                                         
[gamejam-7-8-9-avril] 21 => 22                                                                                                                                                                                  
[herdingcats] 22 => 23                                                                                                                                                                                          
[herdingcats-alpha] 23 => 24                                                                                                                                                                                    
[herdingcats-appmobile] 24 => 25                                                                                                                                                                                
[herdingcats-embedded] 25 => 26                                                                                                                                                                                 
[herdingcats-ia] 26 => 27                                                                                                                                                                                       
[lunii-hardware] 27 => 28                                                                                                                                                                                       
[mamie-boom] 73 => 29