debug print interaction
This commit is contained in:
parent
44607786cb
commit
c8c4a55a99
1 changed files with 1 additions and 0 deletions
1
main.gd
1
main.gd
|
|
@ -177,6 +177,7 @@ func remove_components_from_interaction(interaction: DiscordInteraction, msg = "
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _on_interaction_create(bot: DiscordBot, interaction: DiscordInteraction):
|
func _on_interaction_create(bot: DiscordBot, interaction: DiscordInteraction):
|
||||||
|
print("\ndebug interaction: " + interaction.to_string())
|
||||||
# Handle ApplicationCommand
|
# Handle ApplicationCommand
|
||||||
if interaction.is_command() or interaction.is_autocomplete():
|
if interaction.is_command() or interaction.is_autocomplete():
|
||||||
var cmd_name = interaction.data.name
|
var cmd_name = interaction.data.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue