You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitctx.send(f'This session has been running for **{uptime}**')
209
213
210
-
@client.command(aliases=['commands'])
211
-
asyncdefhelp(ctx):
212
-
emb=discord.Embed(title=f'increment.io Commands', description=f'I am a counting bot who looks for numbers and makes sure that the count doesn\'t get messed up. If you want help on commands or want a more organized view, check https://notsniped.github.io/increment.io/commands\n :warning: This bot is still WIP. Some commands/features may not work as expected.\n\n**Prefix:** ```Main Prefix: +```\n**Information:** ```+help, +ping, +stats, +serverstats,+credits```\n**Counting:** ```+setchannel, +numberonly [on/off], +reactions [on/off], +setnumber [number], +resetcount```', color=theme_color)
214
+
@client.slash_command(
215
+
name="help",
216
+
description="Need help?"
217
+
)
218
+
asyncdefhelp(ctx: ApplicationContext):
219
+
emb=discord.Embed(title=f'increment.io Commands', description=f'I am a counting bot who looks for numbers and makes sure that the count doesn\'t get messed up. If you want help on commands or want a more organized view, check https://notsniped.github.io/increment.io/commands\n :warning: This bot is still WIP. Some commands/features may not work as expected.\n\n**Prefix:** `/`\n**Information:** ```/help, /ping, /stats, /serverstats, /credits```\n**Counting:** ```/setchannel, /numberonly [on/off], /reactions [on/off], /setnumber [number], /resetcount```', color=theme_color)
213
220
awaitctx.send(embed=emb)
214
221
215
-
@client.command(aliases=['pong'])
216
-
asyncdefping(ctx):
222
+
@client.slash_command(
223
+
name="ping",
224
+
description="View the bot latency (in ms)"
225
+
)
226
+
asyncdefping(ctx: ApplicationContext):
217
227
awaitctx.send(f':ping_pong: Pong! In **{round(client.latency*1000)}ms**.')
218
228
219
-
@client.command()
220
-
asyncdefcredits(ctx):
229
+
@client.slash_command(
230
+
name="credits",
231
+
description="View the people behind this bot's development."
0 commit comments