Skip to content

taminaminam/discord_cats_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord_cats_bot

This is a very simple bot written in discord.py that gives you cats if you write the command cat! into chat

Setting up the .env file

You will need to create a file called .env in the main directory.

Inside the .env file, you will need to add the text DISCORD_TOKEN={your_discord_token} (replace {your_discord_token} with your actual discord bot token).

In a new line inside the .env file, you will need to add the text BOT_OWNER_ID={your_discord_userid} (replace {your_discord_userid} with your actual discord user id)

In the end your .env file should look like this1:

DISCORD_TOKEN=bjyab6sy6NxcLb4GR9a.pqCFFz_F_snPzHhi$q4mhzgob5dR@KBde5
BOT_OWNER_ID=123456789012345678

Inviting the bot to your server

To invite your bot to your server, you will need an oauth2 link. The permission code needed is 5288 and the scope is bot%20applications.commands

The link should look like this with {your_application_client_id} replaced with the Oauth2 > client Information > CLIENT ID of your application:

https://discord.com/api/oauth2/authorize?client_id={your_application_client_id}&permissions=52288&scope=bot%20applications.commands

Footnotes

  1. The values presented in this example are fake and should not be usable in this state.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages