These "ephemeral" are messages that come up as "Only you can see" in the discord client. They are in the response of a slash command( 'type': 'application_command') in a guild channel. The messages show up like normal messages in the channel but have "Only you can see this • Dismiss message" at the bottom of the message where "Dismiss message" is a blue linked word when pressed removes the message from the channel.
I'm trying to read the response of a bot in a guild channel that is responding to my self bot using the bot.triggerSlashCommand() function.
Using something like
if resp.event.message:
m = resp.parsed.auto()
if m['channel_id'] == 'ID_EXAMPLE':
print(m)
Where ID_EXAMPLE is the channel where the slash command is being sent and responded to. I can see the message come through in the discord client when sending the slash command with the bot or manually via the discord client. No message is printed to the console. You should also know this guild is a large guild where op code 14 is needed and being used. I'm getting other messages from the guild and other guild channels with out issue.
These "ephemeral" are messages that come up as "Only you can see" in the discord client. They are in the response of a slash command( 'type': 'application_command') in a guild channel. The messages show up like normal messages in the channel but have "Only you can see this • Dismiss message" at the bottom of the message where "Dismiss message" is a blue linked word when pressed removes the message from the channel.
I'm trying to read the response of a bot in a guild channel that is responding to my self bot using the bot.triggerSlashCommand() function.
Using something like
Where ID_EXAMPLE is the channel where the slash command is being sent and responded to. I can see the message come through in the discord client when sending the slash command with the bot or manually via the discord client. No message is printed to the console. You should also know this guild is a large guild where op code 14 is needed and being used. I'm getting other messages from the guild and other guild channels with out issue.
Is this a bug or am I doing something wrong?