iwa / Q-Bot

Custom Discord Bot made for Qumu's Discord Server
0 stars 0 forks source link

actions commands specific to avoid pinging Q #115

Open iwa opened 4 years ago

iwa commented 4 years ago

Describe the feature you'd like to add commands like ?hugQ ?patQ etc.. would let people hug / pat ... Q without having to ping them

SuperTux20 commented 4 years ago

I don't know if it's possible in TypeScript, but I recently figured out in Python that I can refer to users without pinging them... Perhaps it could be translated somehow? Example:

async def boop(ctx, user2boop: discord.Member=None):
    await ctx.send(f"{ctx.author.display_name} boops you, {user2boop.display_name}!")

Usage can be ?boop @mention ?boop username ?boop nickname

Like I said, idk if it can be done in TS or not. But if this helps, I'm happy :)

iwa commented 4 years ago

might be a better idea yeah 🤔 would that be possible that I test how it works in Discord, if you're fine with that ? @SuperTux20

SuperTux20 commented 4 years ago

Sure thing, I'll let you know when