Skip to content

1Pjay/status-cog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StatusCog

Installation

pip install status-cog

Usage

import os
from discord.ext import commands

os.environ["status_cog_webhook_url"] = None # WEBHOOK URL HERE
os.environ["status_cog_message_id"] = None # Message ID here if you want the bot to edit the previous message (can also be None)

bot = commands.Bot(command_prefix="!")
bot.load_extension("status_cog")

bot.run()

Commands

[prefix]maintenance

Enables maintenance mode, when the bot shuts off it won't send an offline message but a maintenance message showing that this shutdown was planned.

About

Shows the bot status in your discord server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages