Owner Module

class Owner(*args: Any, **kwargs: Any)

Bases: Cog

Documentation coming soon…

Attention

All commands assume minimum bot permissions: View Channel, Send Messages.

async load(ctx, extension)

Load specified cog from library

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async unload(ctx, extension)

Unload specified cog from library

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async reload(ctx, extension)

Reload specified cog from library

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async loaded(ctx)

Show loaded & unloaded cogs

Aliases: clist

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async pull(ctx)

Command !!pull.

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async build_sim(ctx)

Build the sim game for production (Hostinger deployment)

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async leaveguild(ctx, *, guildinput)

Leave guild ID specified

Permissions

Author: LLR Admin (server owner / bot owner)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async export_assets(ctx, guild_id: int = None, include_stickers: str = 'no')

Export custom emojis (and optional stickers) from a guild.

Aliases: guildassets, puchiballs

Permissions

Author: LLR Admin (server owner / bot owner)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async restart(ctx, service: str = 'chisato')

Restart chisato, resource, fumio or mocho. If no service provided, defaults to chisato.

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async add_data(ctx, key, value)

Create new key/value pairs in data.json

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async dm(ctx, member: Member, *, message: str)

Direct Message a member in the same guild as Chiichan

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async stats(ctx)

Return stats about Chiichan

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async viewlog(ctx, option: str = '0')

Show the last 50 lines of the log

Aliases: vl

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

Command !!invite_link.

Aliases: iv

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async guilds(ctx)

Report all Guilds the bot is a part of

Permissions

Author: Bot Owner / Yumegipsu

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async guild(ctx, option=None, id=None, key=None, value=None)

Guild_Settings SQL maintenance

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async blacklist(ctx, user_id: int, *, reason: str = None)

Command !!blacklist.

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async sql_add_column(ctx, table: str, column: str, col_type: str)

Adds a new column to a specified table in the database.

Parameters:
  • table (str) – The name of the table.

  • column (str) – The name of the column to add.

  • col_type (str) – The type of the column (e.g., INTEGER, TEXT).

Permissions

Author: Bot Owner (42GAMI)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async export_discord_emojis(ctx: Context, guild_id: int | None = None)

ZIP Discord application emojis (default) or a guild’s custom emojis, for uploading elsewhere (e.g. Chiichan-Lite in the Developer Portal).

Aliases: exportemojis

Syntax

!!export_discord_emojis           # this bot's Application Emoji list (same app as the token)
!!export_discord_emojis GUILD_ID  # emoji from that guild (bot must be in it)

Permissions

Author: Bot Developer

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)