#How to search for messages
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
I am trying to find a message with a specific mention in a specific channel, i looked into the guild.GetTextChannel(0).GetMessagesAsync() but that only loads the last x messages not searching for a message like you do in the ui
Bots don't have access to search api.
GetMessagesAsync just fetches last X messages from channel
iirc 100 by default
Oke so i am going to have to pull in all the messages from the channel and then filter internally, well ok, thats not very efficient 