You are browsing as a guest. Sign up (or log in) to start making projects!

BasicDiscordBot

  • 3 Devlogs
  • 11 Total hours

Because I built Discord Bots i wanted to have a foundation to built on so i created this project

Open comments for this post

3h 16m 18s logged

I added team member getting so all team members get a dm when the bot starts added 2 channel ids one for announcment of the bot when it restarts or pulls changes and one for a changelog i added a info command where you can see infos of the bot like version developers the original repo if it was forked

0
0
25
Open comments for this post

7h 18m 27s logged

At first i started to implement this as an funktion with an client inside as seen in my first commits. But then i realized that discord.py has a native way of importing command listeners and so on to a bot so i scraped everything and started implementing it as a cog after a bit of struggeling at first on how to get the import and listeners to work i finally got it to work.
Features:
command syncyng to a guild or globally in cog_load
team id fetching and team dm sending on bot
startup
restart helper task to work with DiscordBotHelper
helper funktions:
check_team_member to check if a user is part of the team that owns the bot or the owner if it belongs to a user
is_team_member:
using check_team_member to create a decorator for /commands to make them only for team members

0
0
9

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…