mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-05 14:15:38 +00:00
basic: Add hackercount
This commit is contained in:
parent
a0fd90fabd
commit
11d264cbd8
|
@ -35,6 +35,14 @@ class Basic(Cog):
|
||||||
await ctx.send(f"{ctx.guild.name} has "
|
await ctx.send(f"{ctx.guild.name} has "
|
||||||
f"{len(community.members)} community members!")
|
f"{len(community.members)} community members!")
|
||||||
|
|
||||||
|
@commands.guild_only()
|
||||||
|
@commands.command()
|
||||||
|
async def hackercount(self, ctx):
|
||||||
|
"""Prints the hacker member count of the server."""
|
||||||
|
h4x0r = ctx.guild.get_role(config.named_roles["hacker"])
|
||||||
|
await ctx.send(f"{ctx.guild.name} has "
|
||||||
|
f"{len(h4x0r.members)} people with hacker role!")
|
||||||
|
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def membercount(self, ctx):
|
async def membercount(self, ctx):
|
||||||
|
|
Loading…
Reference in a new issue