Tobo-Cogs icon indicating copy to clipboard operation
Tobo-Cogs copied to clipboard

Update the display of errorlogs

Open TrustyJAID opened this issue 1 year ago • 2 comments

closes #88

TrustyJAID avatar Jul 02 '23 15:07 TrustyJAID

All the info you should need to build the app command mention should be available under ctx.interaction.data - specifically the id and name keys for that dict should be all you need to build a command mention (though I don't know how well it plays with subcommands). The options key might also give some useful info. That might save quite a bit of work with rebuilding the invokation.

Zephyrkul avatar Jul 02 '23 20:07 Zephyrkul

You're right I completely forgot about the data from discord is passed which includes the command ID among other things. I will rework this to use that instead. Thanks @Zephyrkul!

TrustyJAID avatar Jul 02 '23 21:07 TrustyJAID