ieatfries
ieatfries
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
The latter - something in my system will determine when to push the messages to all the text channels the bot is a part of
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
Or is it literally just a matter of logging in then doing it
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
Kotlin noob
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
So would the idea be to run another coroutine? Would the other coroutine have scope to the kord object?
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
I guess id have to collect by guild first to get ALL guilds the bot is connected to before doing the filter?
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
Right but each time i try to loop through the channels in the guild prop it ends up empty. Furthermore is there an example of how when I get the channel Id how to be able to actually create a new message? The example on github is easy because the MessageChannel clsss already has a way to do it
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
Sorry maybe a push event is wrong terminology. Realistically i want to be able to send a message with the bot at some specified time (which is to be determined by my backend)
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
And i got it to just send a message via the discord api using the base rest client
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
Why not? I have a bot thats inside a text channel right now
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
is there a "Kord" way of doing this?
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
and using the embed
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
I was able to do this when just using the rest api (/api/channels/<channel_id>/message)
25 replies
KKord
Created by ieatfries on 9/12/2024 in #help
How to generate push messages in channels?
I think I'm more interested in ONLY generating a push event. So an ideal workflow would be something like 1. Find out which channel's my bot is in. 2. Do a create message event at a timed interval using the channel id. It looks like at some point I might have to store this info in a db which is fine
25 replies