Discord Bot Custom

A Portfolio for Customers to look at my custom Bot Maker by Tamino1230.
This Bot is Programmed in Python 3.12.6
Not Affiliated with Discord!

Setup of your Bot

This is what your will get when getting the bot


bot-root/
├── cogs/
│   ├── admin.py
│   ├── fun.py
│   ├── moderation.py
│   ├── anti_scam.py
│   ├── reactions.py
│   └── ...
├── core/
│   ├── bot.py
├── utils/
│   ├── console.py
│   ├── json_utils.py
│   └── logger.py
├── data/
│   └── json and python files with info
├── logs/
│   ├── chat_logs.txt
│   ├── server_logs.txt
│   └── ...
├── transcripts/
│   └── ticket transcripts
├── README.md
├── config.py
├── main.py                                 <- main file to run the bot
├── requirements.txt
├── .env
└── .gitignore

                

Steps to set up:

  1. Clone the your bot:
  2. git clone https://github.com/Tamino1230/customer-discord-bot.git
  3. Navigate to the project directory: cd discord-bot
  4. Install dependencies:
  5. pip install -r requirements.txt
  6. Set up your environment variables in the .env file.
  7. Set up your bot in the Discord Developer Portal and get your bot token.
  8. Configure the bot by editing the config.py file.
  9. Run the bot: (can depend)
  10. python main.py
  11. Invite the bot to your server using the OAuth2 URL generated in the Discord Developer Portal with Admin permissions.

Customization

You can customize the bot by modifying the configuration files in the config.py file. You can change settings like prefix, logging channels, and more.

For example, to change the command prefix, modify the prefix variable in the config.py file:

prefix = "!"
#- Status
STATUS = 'watching' #* playing / watching / listening / stream
ACTIVITY = 'Tamino1230 - Bot'
STREAM_URL = "https://www.twitch.tv/tamino001"

DEFAULT_IMAGE = "https://i.imgur.com/S34FvgK.jpeg"

#- Autoroles
AUTOROLES = [1337788377822400673]
ROLE_ID_TO_ADD = 1337788377822400673
TEAM_PANEL_MESSAGE_ID = 1337804215896117268
TEAM_PANEL_ROLES = [1337788429026590853, 1337798434396049560, 1337798478285377577, 1337798510766198907, 1337788650292776981]

#- Channel Settings
WELCOME_CHANNEL = 1337776597599780905
LOG_CHANNEL = 1337779589488971917

TICKET_CHANNEL = 1337779916904599623
TICKET_CATEGORY_ID = 1337790110678388858
TEAM_PANEL_CHANNEL = 1337804040452702319

#- Moderation settings
ADMIN_ROLES = [1337788429026590853, 1337798434396049560, 1337798478285377577, 1337798510766198907]
PROTECTED_USERS = [702893526303637604, 1337787532665946186]

...


Usage

Here's a quick example of how to use this project:

Invite your Bot with following:

https://discord.com/oauth2/authorize?client_id=YOUR-BOT-APPLICATION-ID&scope=bot+applications.commands&permissions=8

!help

Response:

Features

*: Optional

  • 🛡️ Moderation
    • Commands:
      • ban <@user> <@reason*> <@delete_message_option*> Admin only
      • kick <@user> <@reason*> Admin only
      • timeout <@user> <@seconds> <@reason*> Admin only
      • warn <@user> <@reason*> Admin only
      • check_warns <@user> Admin only
      • remove_warns <@user> <@warn_number> Admin only
      • check_timeout <@user> Admin only
      • remove_timeout <@user> Admin only
      • modnote <@user> <@Notes> Admin only
      • view_modnotes <@user> Admin only
      • remove_modnote <@user> <@note_number> Admin only
      • report <@user> <@reason>
      • suggest <@user> <@suggestion>
    • Functions:
      • load_warnings
      • save_warnings
      • load_modnotes
      • save_modnotes
  • 🎫 Ticket System
    • Commands:
      • setup_tickets Admin only
      • ticket_close Admin only
    • Functions:
      • create_ticket_channel
      • save_ticket_info
      • load_modnotes
      • save_modnotes
    • Events:
      • on_raw_reaction_add
  • 👋 Welcome System
    • Commands:
      • test_welcome Admin only
    • Events:
      • on_member_join
  • ⭐ XP & Levels
    • Commands:
      • xp <@user*>
      • level/lvl <@user*>
      • loaderboard/lb/rank
      • need_xp <@user*>
    • Functions:
      • load_streak_data
      • save_streak_data
      • calculate_level
      • xp_for_next_level
      • add_xp
      • before_give_xp
      • cog_unload
    • Events:
      • on_message
    • Loops:
      • give_xp_to_active_users / every 1 hour
  • 🎮 Fun & Games
    • Commands:
      • roll
      • cookie
      • flirt <@user>
      • uwuify <@text>
      • usefull
      • water
      • randomcolor
      • nuhuhh <@user>
      • votekick <@user>
      • randomlove
      • image cat/dog/meme/fox
      • russianroulett
      • simpcheck <@user>
      • hack <@user>
      • eightball <@question>
      • yeet <@user>
    • Functions:
      • cookie
    • Events:
      • on_message
  • 🔧 Utility
    • Commands:
      • serverinfo
      • help
      • serverage
    • Functions:
      • prev_page
      • next_page
  • 📊 Logging
    • Functions:
      • generate_team_panel_embed_with_direct_check
      • before_update_team_panel
    • Events:
      • on_message
      • on_message_delete
      • on_message_edit
      • on_member_join
      • on_member_remove
      • on_member_update
      • on_guild_channel_create
      • on_guild_channel_delete
      • on_guild_channel_update
      • on_member_ban
      • on_member_unban
      • on_member_kick
    • Loops:
      • update_team_panel / every 1 minute
  • 🎭 Reaction Roles
    • Commands:
      • reaction_role_add <@channel_id> <@"title"> <@"description"> Admin only
    • Events:
      • on_raw_reaction_add
      • on_raw_reaction_remove
  • 🐛 Anti-Scam Detection
    • Commands:
      • refresh_scam_list Only server owner
    • Functions:
      • update_scam_list
    • Events:
      • on_ready
      • on_message
  • 🐛 Admin / Teststuff
    • Commands:
      • say Admin only
      • ping
      • server
      • user
    • Events:
      • on_ready
      • on_message
  • 🐛 Games
    • Commands:
      • hangman
      • news_game
    • Functions:
      • interaction_check
      • on_timeout
      • display_word
      • display_guessed_letters
      • update_message
      • start
      • gues_letter
      • on_submit
      • real_button
      • fake_button
      • add_headline_button
      • check_answer
    • Events:
      • on_ready
      • on_message
  • 🐛 Slash Commands
    • Commands:
      • /ping
      • /say
      • /userinfo <@user>
      • /serverinfo
      • /help
      • /monthly
    • Functions:
      • help_command
      • serverinfo
      • userinfo
      • say
      • ping
      • monthly

Ordering Your Custom Bot

Interested in getting your own custom Discord bot? Here's how you can choose the features you need:

Needed Features

🛡️ Moderation

📊 Logging

👋 Welcome System

🔧 Utility

🐛 Admin / Teststuff

🐛 Anti-Scam Detection

Optional Features

🎫 Ticket System

⭐ XP & Levels

🎮 Fun & Games

🎭 Reaction Roles

🐛 Games

🐛 Slash

Contact me via Discord: Tamino1230 or join my Discord Server to discuss your requirements.

Once we finalize the features, I will provide you with Guide from me in a call and . You will receive your bot files, along with instructions for setup and usage.

Feel free to reach out if you have any questions or need further assistance!

How does the Anti Scam work?

The Anti-Scam works by going through a list of 35 thousand known scamlinks

And if one gets detected, the message gets deleted and reportet:

The Scamlist is by Discord-AntiScam on Github

Scam Detection Example

Examples

Here are some examples of commands and their outputs:

Check_warns Command

Command: !check_warns <@user>

Response:

Check_warns Command Example

Ticket Setup Command

Command: !setup_tickets

Response:

Server Ticket Command Example

Logging Example

Event: Message Deleted

Logged Information:

Message Deleted Example

Logging Example

Event: Message Send

Logged Information:

Message Deleted Example

Logging Example

Event: Message Edit

Logged Information:

Message Deleted Example

Logging Example

Event: Member Joined

Logged Information:

Message Deleted Example

Reaction Role Command

Command: !reaction_role_add channelid "titel" "description something" 💀 @Admin 😼 @Member

Response:

Reaction Role Command Example

Team Panel Command

Event: On Bot Setup / every 5 Min updating

Output:

Team Panel Command Example

Ticket Command

Command: !setup_ticket

Response:

Ticket Command Example

Welcome Event

Event: Member join

Response:

Welcome Command Example

Active Developer Badge

Active Developer Badge

If you want the Active-Developer-Badge you can go to: Claim Badge if you ran a slash command on a discord application in the last 30 days you will be eligible to claim the badge

Slash Commands

You will be able to run /monthly (or any other / command) to run every month once

All Slash Commands:

  • /monthly
  • /help
  • /ping
  • /say
  • /serverinfo
  • /userinfo <@user>

How does the Bot Maker work?

The Bot Maker is Completly made by me and this is how i use it:

  1. First i choose the Cogs that you want
  2. cogs_selection Preview
  3. Then i enter the name of the customer.
  4. Then i let the program generate the bot files.
  5. Click on "Generate Bot" to create your custom bot (including the cogs which i cant show).
  6. bot_maker Preview
  7. Then i Zip the File and send it to you.


I need help!

If you got the Bot Files from me and you need help. I will setup the Bot for you / help you without any cost OR if you just have questions.

Just join my Discord Server: Discord Server Link and open a Ticket in the Tickets Channel (Only works if my Bot is Online) or contact me directly: Tamino1230