mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 01:55:38 +00:00
commit
fcbe3371ca
|
@ -13,6 +13,14 @@ class Basic(Cog):
|
|||
"""Says hello. Duh."""
|
||||
await ctx.send(f"Hello {ctx.author.mention}!")
|
||||
|
||||
@commands.guild_only()
|
||||
@commands.command()
|
||||
async def communitycount(self, ctx):
|
||||
"""Prints the community member count of the server."""
|
||||
community = ctx.guild.get_role(config.named_roles["community"])
|
||||
await ctx.send(f"{ctx.guild.name} has "
|
||||
f"{len(community.members)} community members!")
|
||||
|
||||
@commands.guild_only()
|
||||
@commands.command()
|
||||
async def membercount(self, ctx):
|
||||
|
|
Loading…
Reference in a new issue