Convert all non-ctc2 and dbrand commands to global commands
This commit is contained in:
parent
af3d6a7edb
commit
19c9274f66
8 changed files with 0 additions and 48 deletions
|
@ -31,7 +31,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="ban",
|
name="ban",
|
||||||
description="Ban a user",
|
description="Ban a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -158,7 +157,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="unban",
|
name="unban",
|
||||||
description="Unban a user",
|
description="Unban a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -283,7 +281,6 @@ class AdminCog(commands.Cog):
|
||||||
base="bans",
|
base="bans",
|
||||||
name="list",
|
name="list",
|
||||||
description="List bans",
|
description="List bans",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="type",
|
name="type",
|
||||||
|
@ -358,7 +355,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="kick",
|
name="kick",
|
||||||
description="Kick a user",
|
description="Kick a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -411,7 +407,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="purge",
|
name="purge",
|
||||||
description="Purge messages from channel",
|
description="Purge messages from channel",
|
||||||
guild_ids=[578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="amount",
|
name="amount",
|
||||||
|
@ -445,7 +440,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="mute",
|
name="mute",
|
||||||
description="Mute a user",
|
description="Mute a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -520,7 +514,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="unmute",
|
name="unmute",
|
||||||
description="Unmute a user",
|
description="Unmute a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -591,7 +584,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="lock",
|
name="lock",
|
||||||
description="Locks a channel",
|
description="Locks a channel",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="reason",
|
name="reason",
|
||||||
|
@ -645,7 +637,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="unlock",
|
name="unlock",
|
||||||
description="Unlocks a channel",
|
description="Unlocks a channel",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -688,7 +679,6 @@ class AdminCog(commands.Cog):
|
||||||
base="lockdown",
|
base="lockdown",
|
||||||
name="start",
|
name="start",
|
||||||
description="Locks a server",
|
description="Locks a server",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="reason",
|
name="reason",
|
||||||
|
@ -742,7 +732,6 @@ class AdminCog(commands.Cog):
|
||||||
base="lockdown",
|
base="lockdown",
|
||||||
name="end",
|
name="end",
|
||||||
description="Unlocks a server",
|
description="Unlocks a server",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
)
|
)
|
||||||
@commands.has_permissions(administrator=True)
|
@commands.has_permissions(administrator=True)
|
||||||
async def _lockdown_end(
|
async def _lockdown_end(
|
||||||
|
@ -782,7 +771,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="warn",
|
name="warn",
|
||||||
description="Warn a user",
|
description="Warn a user",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -844,7 +832,6 @@ class AdminCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="warnings",
|
name="warnings",
|
||||||
description="Get count of user warnings",
|
description="Get count of user warnings",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="user",
|
name="user",
|
||||||
|
@ -885,7 +872,6 @@ class AdminCog(commands.Cog):
|
||||||
base="roleping",
|
base="roleping",
|
||||||
name="block",
|
name="block",
|
||||||
description="Add a role to the roleping blocklist",
|
description="Add a role to the roleping blocklist",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="role",
|
name="role",
|
||||||
|
@ -920,7 +906,6 @@ class AdminCog(commands.Cog):
|
||||||
base="roleping",
|
base="roleping",
|
||||||
name="allow",
|
name="allow",
|
||||||
description="Remove a role from the roleping blocklist",
|
description="Remove a role from the roleping blocklist",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="role",
|
name="role",
|
||||||
|
@ -956,7 +941,6 @@ class AdminCog(commands.Cog):
|
||||||
base="roleping",
|
base="roleping",
|
||||||
name="list",
|
name="list",
|
||||||
description="List all blocklisted roles",
|
description="List all blocklisted roles",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
)
|
)
|
||||||
async def _roleping_list(self, ctx: SlashContext):
|
async def _roleping_list(self, ctx: SlashContext):
|
||||||
roles = self.db.jarvis.settings.find_one(
|
roles = self.db.jarvis.settings.find_one(
|
||||||
|
@ -982,7 +966,6 @@ class AdminCog(commands.Cog):
|
||||||
base="autopurge",
|
base="autopurge",
|
||||||
name="add",
|
name="add",
|
||||||
description="Automatically purge messages after x seconds",
|
description="Automatically purge messages after x seconds",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -1025,7 +1008,6 @@ class AdminCog(commands.Cog):
|
||||||
base="autopurge",
|
base="autopurge",
|
||||||
name="remove",
|
name="remove",
|
||||||
description="Remove an autopurge",
|
description="Remove an autopurge",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -1050,7 +1032,6 @@ class AdminCog(commands.Cog):
|
||||||
base="autopurge",
|
base="autopurge",
|
||||||
name="update",
|
name="update",
|
||||||
description="Update autopurge on a channel",
|
description="Update autopurge on a channel",
|
||||||
guild_ids=[418094694325813248, 578757004059738142, 862402786116763668],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
|
|
@ -24,7 +24,6 @@ class AutoReactCog(commands.Cog):
|
||||||
base="autoreact",
|
base="autoreact",
|
||||||
name="create",
|
name="create",
|
||||||
description="Add an autoreact to a channel",
|
description="Add an autoreact to a channel",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -62,7 +61,6 @@ class AutoReactCog(commands.Cog):
|
||||||
base="autoreact",
|
base="autoreact",
|
||||||
name="delete",
|
name="delete",
|
||||||
description="Delete an autoreact from a channel",
|
description="Delete an autoreact from a channel",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -87,7 +85,6 @@ class AutoReactCog(commands.Cog):
|
||||||
base="autoreact",
|
base="autoreact",
|
||||||
name="add",
|
name="add",
|
||||||
description="Add an autoreact emote to an existing autoreact",
|
description="Add an autoreact emote to an existing autoreact",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -154,7 +151,6 @@ class AutoReactCog(commands.Cog):
|
||||||
base="autoreact",
|
base="autoreact",
|
||||||
name="remove",
|
name="remove",
|
||||||
description="Remove an autoreact emote from an existing autoreact",
|
description="Remove an autoreact emote from an existing autoreact",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -199,7 +195,6 @@ class AutoReactCog(commands.Cog):
|
||||||
base="autoreact",
|
base="autoreact",
|
||||||
name="list",
|
name="list",
|
||||||
description="List all autoreacts on a channel",
|
description="List all autoreacts on a channel",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
|
|
@ -107,7 +107,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="hash",
|
name="hash",
|
||||||
description="Hash some data",
|
description="Hash some data",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _hash_slash(self, ctx, method: str, *, data: str = None):
|
async def _hash_slash(self, ctx, method: str, *, data: str = None):
|
||||||
await self._hash(ctx, method, data=data)
|
await self._hash(ctx, method, data=data)
|
||||||
|
@ -144,7 +143,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="uuid",
|
name="uuid",
|
||||||
description="Generate a UUID",
|
description="Generate a UUID",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _uuid_slash(self, ctx, version: str = None, data: str = None):
|
async def _uuid_slash(self, ctx, version: str = None, data: str = None):
|
||||||
await self._uuid(ctx, version, data)
|
await self._uuid(ctx, version, data)
|
||||||
|
@ -160,7 +158,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="objectid",
|
name="objectid",
|
||||||
description="Generate an ObjectID",
|
description="Generate an ObjectID",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _objectid_slash(self, ctx):
|
async def _objectid_slash(self, ctx):
|
||||||
await self._objectid(ctx)
|
await self._objectid(ctx)
|
||||||
|
@ -176,7 +173,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="ulid",
|
name="ulid",
|
||||||
description="Generate a ULID",
|
description="Generate a ULID",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _ulid_slash(self, ctx):
|
async def _ulid_slash(self, ctx):
|
||||||
await self._ulid(ctx)
|
await self._ulid(ctx)
|
||||||
|
@ -196,7 +192,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="uuid2ulid",
|
name="uuid2ulid",
|
||||||
description="Convert a UUID to a ULID",
|
description="Convert a UUID to a ULID",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _uuid2ulid_slash(self, ctx, u: str):
|
async def _uuid2ulid_slash(self, ctx, u: str):
|
||||||
await self._uuid2ulid(ctx, u)
|
await self._uuid2ulid(ctx, u)
|
||||||
|
@ -216,7 +211,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="ulid2uuid",
|
name="ulid2uuid",
|
||||||
description="Convert a ULID to a UUID",
|
description="Convert a ULID to a UUID",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _ulid2uuid_slash(self, ctx, u):
|
async def _ulid2uuid_slash(self, ctx, u):
|
||||||
await self._ulid2uuid(ctx, u)
|
await self._ulid2uuid(ctx, u)
|
||||||
|
@ -243,7 +237,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="encode",
|
name="encode",
|
||||||
description="Encode using the base64 module",
|
description="Encode using the base64 module",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _encode_slash(self, ctx, method: str, *, data: str):
|
async def _encode_slash(self, ctx, method: str, *, data: str):
|
||||||
await self._encode(ctx, method, data)
|
await self._encode(ctx, method, data)
|
||||||
|
@ -268,7 +261,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="decode",
|
name="decode",
|
||||||
description="Decode using the base64 module",
|
description="Decode using the base64 module",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _decode_slash(self, ctx, method: str, *, data: str):
|
async def _decode_slash(self, ctx, method: str, *, data: str):
|
||||||
await self._decode(ctx, method, data)
|
await self._decode(ctx, method, data)
|
||||||
|
@ -286,7 +278,6 @@ class DevCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="cloc",
|
name="cloc",
|
||||||
description="Get J.A.R.V.I.S. lines of code",
|
description="Get J.A.R.V.I.S. lines of code",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _cloc_slash(self, ctx):
|
async def _cloc_slash(self, ctx):
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
|
|
|
@ -131,7 +131,6 @@ class JokeCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="joke",
|
name="joke",
|
||||||
description="Hear a joke",
|
description="Hear a joke",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _joke_slash(self, ctx, id: str = None):
|
async def _joke_slash(self, ctx, id: str = None):
|
||||||
await self._joke(ctx, id)
|
await self._joke(ctx, id)
|
||||||
|
|
|
@ -31,7 +31,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="mute",
|
name="mute",
|
||||||
description="Set mute role",
|
description="Set mute role",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="role",
|
name="role",
|
||||||
|
@ -51,7 +50,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="modlog",
|
name="modlog",
|
||||||
description="Set modlog channel",
|
description="Set modlog channel",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -73,7 +71,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="userlog",
|
name="userlog",
|
||||||
description="Set userlog channel",
|
description="Set userlog channel",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -95,7 +92,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="massmention",
|
name="massmention",
|
||||||
description="Set massmention amount",
|
description="Set massmention amount",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="amount",
|
name="amount",
|
||||||
|
@ -115,7 +111,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="verified",
|
name="verified",
|
||||||
description="Set verified role",
|
description="Set verified role",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="role",
|
name="role",
|
||||||
|
@ -135,7 +130,6 @@ class SettingsCog(commands.Cog):
|
||||||
base="settings",
|
base="settings",
|
||||||
name="unverified",
|
name="unverified",
|
||||||
description="Set unverified role",
|
description="Set unverified role",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="role",
|
name="role",
|
||||||
|
|
|
@ -33,7 +33,6 @@ class StarboardCog(commands.Cog):
|
||||||
base="starboard",
|
base="starboard",
|
||||||
name="list",
|
name="list",
|
||||||
description="Lists all Starboards",
|
description="Lists all Starboards",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
@commands.has_permissions(administrator=True)
|
@commands.has_permissions(administrator=True)
|
||||||
async def _list(self, ctx):
|
async def _list(self, ctx):
|
||||||
|
@ -52,7 +51,6 @@ class StarboardCog(commands.Cog):
|
||||||
base="starboard",
|
base="starboard",
|
||||||
name="create",
|
name="create",
|
||||||
description="Create a starboard",
|
description="Create a starboard",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="target",
|
name="target",
|
||||||
|
@ -93,7 +91,6 @@ class StarboardCog(commands.Cog):
|
||||||
base="starboard",
|
base="starboard",
|
||||||
name="delete",
|
name="delete",
|
||||||
description="Delete a starboard",
|
description="Delete a starboard",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="channel",
|
name="channel",
|
||||||
|
@ -125,7 +122,6 @@ class StarboardCog(commands.Cog):
|
||||||
base="star",
|
base="star",
|
||||||
name="add",
|
name="add",
|
||||||
description="Star a message",
|
description="Star a message",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="message",
|
name="message",
|
||||||
|
|
|
@ -25,7 +25,6 @@ class UtilCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="status",
|
name="status",
|
||||||
description="Retrieve J.A.R.V.I.S. status",
|
description="Retrieve J.A.R.V.I.S. status",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _status(self, ctx):
|
async def _status(self, ctx):
|
||||||
title = "J.A.R.V.I.S. Status"
|
title = "J.A.R.V.I.S. Status"
|
||||||
|
@ -51,7 +50,6 @@ class UtilCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="logo",
|
name="logo",
|
||||||
description="Get the current logo",
|
description="Get the current logo",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _logo(self, ctx):
|
async def _logo(self, ctx):
|
||||||
lo = logo.get_logo(self.config.logo)
|
lo = logo.get_logo(self.config.logo)
|
||||||
|
@ -60,7 +58,6 @@ class UtilCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="rcauto",
|
name="rcauto",
|
||||||
description="Automates robot camo letters",
|
description="Automates robot camo letters",
|
||||||
guild_ids=[862402786116763668, 578757004059738142],
|
|
||||||
options=[
|
options=[
|
||||||
create_option(
|
create_option(
|
||||||
name="text",
|
name="text",
|
||||||
|
|
|
@ -38,7 +38,6 @@ class VerifyCog(commands.Cog):
|
||||||
@cog_ext.cog_slash(
|
@cog_ext.cog_slash(
|
||||||
name="verify",
|
name="verify",
|
||||||
description="Verify that you've read the rules",
|
description="Verify that you've read the rules",
|
||||||
guild_ids=[862402786116763668, 418094694325813248, 578757004059738142],
|
|
||||||
)
|
)
|
||||||
async def _verify(self, ctx: SlashContext):
|
async def _verify(self, ctx: SlashContext):
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
|
|
Loading…
Add table
Reference in a new issue