211 lines
8.4 KiB
JSON
211 lines
8.4 KiB
JSON
[
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "commands",
|
||
"importPath": "discord.ext",
|
||
"description": "discord.ext",
|
||
"isExtraImport": true,
|
||
"detail": "discord.ext",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "random",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "random",
|
||
"description": "random",
|
||
"detail": "random",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "discord",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "discord",
|
||
"description": "discord",
|
||
"detail": "discord",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "io",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "io",
|
||
"description": "io",
|
||
"detail": "io",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "subprocess",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "subprocess",
|
||
"description": "subprocess",
|
||
"detail": "subprocess",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "re",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "re",
|
||
"description": "re",
|
||
"detail": "re",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "psutil",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "psutil",
|
||
"description": "psutil",
|
||
"detail": "psutil",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "load_dotenv",
|
||
"importPath": "dotenv",
|
||
"description": "dotenv",
|
||
"isExtraImport": true,
|
||
"detail": "dotenv",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "os",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "os",
|
||
"description": "os",
|
||
"detail": "os",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "logging",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "logging",
|
||
"description": "logging",
|
||
"detail": "logging",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "asyncio",
|
||
"kind": 6,
|
||
"isExtraImport": true,
|
||
"importPath": "asyncio",
|
||
"description": "asyncio",
|
||
"detail": "asyncio",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "Fun",
|
||
"kind": 6,
|
||
"importPath": "cogs.chance",
|
||
"description": "cogs.chance",
|
||
"peekOfCode": "class Fun(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n @commands.command()\n async def coin(self, ctx):\n result = random.choice(['🪙 Heads', '🪙 Tails'])\n await ctx.reply(f'{result}')\n @commands.command()\n async def dice(self, ctx):\n result = random.randint(1, 6)",
|
||
"detail": "cogs.chance",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "Copypasta",
|
||
"kind": 6,
|
||
"importPath": "cogs.copypasta",
|
||
"description": "cogs.copypasta",
|
||
"peekOfCode": "class Copypasta(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n @commands.command()\n async def yuukapasta(self, ctx):\n pasta = (\"\"\"Since Yuuka is the paragon of human virtue without equal past or present, she is most resplendent in love, tributes and accolades. Waking or sleeping, I must not forget Yuuka’s great boon and in order to return her favour by day and by night, I should only think of fulfilling my loyalty.\nWho is Yuuka?\nFor the blind, she is their vision. For the deaf, she is their music. For the mute, she is their voice. For the anosmiac, she is their aroma. For the numb, she is their feeling. For the atrophied, she is their muscle.\nFor the starved, she is their sustenance. For the thirsty, she is their water. For the exhausted, she is their energy.\nFor the depressed, she is their happiness. For the disillusioned, she is their hope. For the pessimistic, she is their optimism.",
|
||
"detail": "cogs.copypasta",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "General",
|
||
"kind": 6,
|
||
"importPath": "cogs.general",
|
||
"description": "cogs.general",
|
||
"peekOfCode": "class General(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n @commands.command()\n async def yuuka(self, ctx):\n await ctx.send('kanpeki!')\nasync def setup(bot):\n await bot.add_cog(General(bot))\[email protected]()\nasync def on_command_error(self, ctx, error):",
|
||
"detail": "cogs.general",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "Gifs",
|
||
"kind": 6,
|
||
"importPath": "cogs.gifs",
|
||
"description": "cogs.gifs",
|
||
"peekOfCode": "class Gifs(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n #this command lists all the gif commands, not an actualy gif command##\n @commands.command()\n async def gifs(self, ctx):\n gif_commands = [f'!{cmd.name}' for cmd in self.get_commands()]\n await ctx.reply('\\n'.join(gif_commands))\n ######################################################################\n @commands.command()",
|
||
"detail": "cogs.gifs",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "SysInfo",
|
||
"kind": 6,
|
||
"importPath": "cogs.sysinfo",
|
||
"description": "cogs.sysinfo",
|
||
"peekOfCode": "class SysInfo(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n def strip_ansi(self, text):\n return re.sub(r'\\x1b\\[[0-9;]*[a-zA-Z]|\\[[0-9]+[A-Z]', '', text)\n #this command lists all the sysinfo commands, not an actualy sysinfo command##\n @commands.command()\n async def sysinfo(self, ctx):\n sys_commands = [f'!{cmd.name}' for cmd in self.get_commands()]\n await ctx.reply('\\n'.join(sys_commands))",
|
||
"detail": "cogs.sysinfo",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "intents",
|
||
"kind": 5,
|
||
"importPath": "main",
|
||
"description": "main",
|
||
"peekOfCode": "intents = discord.Intents.default()\nintents.message_content = True\nbot = commands.Bot(command_prefix='!', intents=intents)\[email protected]\nasync def on_ready():\n print(f'✅ {bot.user} is online!')\nasync def main():\n async with bot:\n await bot.load_extension('cogs.general')\n await bot.load_extension('cogs.chance')",
|
||
"detail": "main",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "intents.message_content",
|
||
"kind": 5,
|
||
"importPath": "main",
|
||
"description": "main",
|
||
"peekOfCode": "intents.message_content = True\nbot = commands.Bot(command_prefix='!', intents=intents)\[email protected]\nasync def on_ready():\n print(f'✅ {bot.user} is online!')\nasync def main():\n async with bot:\n await bot.load_extension('cogs.general')\n await bot.load_extension('cogs.chance')\n await bot.load_extension('cogs.gifs')",
|
||
"detail": "main",
|
||
"documentation": {}
|
||
},
|
||
{
|
||
"label": "bot",
|
||
"kind": 5,
|
||
"importPath": "main",
|
||
"description": "main",
|
||
"peekOfCode": "bot = commands.Bot(command_prefix='!', intents=intents)\[email protected]\nasync def on_ready():\n print(f'✅ {bot.user} is online!')\nasync def main():\n async with bot:\n await bot.load_extension('cogs.general')\n await bot.load_extension('cogs.chance')\n await bot.load_extension('cogs.gifs')\n await bot.load_extension('cogs.copypasta')",
|
||
"detail": "main",
|
||
"documentation": {}
|
||
}
|
||
] |