(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] icon

(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] -----

Modular Discord bot written in Python, self-hosted solution



Unknown command handling and Tickets update
Hello everyone, I made another small update. The bot should now handle unknown commands properly. The update requires editing config.yml, see below.

I have also implemented new features for Tickets, you can now limit ticket categories by user role. Also there is new option to enable confirmation for ticket closing. Thanks to @Neonn_Bukkit for suggesting these features.

Update steps:
-- FoxCodeBot v1.2 --
  1. Replace main.py with new one
  2. Add new lines to config.yml
    Code (YAML):
    # Unknown command handling
    remove-unknown-commands
    : true

    command-not-found-embed
    :
      enabled
    : true
      title
    : "Unknown command"
      description
    : "Unknown command, try again."
      color
    : 0xff0000
  3. Restart the bot
-- Tickets v1.7 --
  1. Replace old tickets.py with new one
  2. Add new lines to ticketsConfig.yml
    Code (YAML):
    require-close-confirmation : true # If set to true, confirmation message will appear on every ticket close


    missing-role-embed
    :
      embed-title
    : "Missing role"
      embed-description
    : "You need the {role} role to create new ticket in this category!"
      embed-colour
    : 0xff0000
      embed-footer
    : "FoxCode Ticket System"

    confirm-close-embed
    :
      embed-title
    : "Confirmation"
      embed-description
    : "Do you really want to close this ticket?"
      embed-colour
    : 0xFFA500
      embed-footer
    : "FoxCode Ticket System"
      confirm-button
    : "Confirm"
  3. Optionally you can now add required-role: <role> to ticket categories
  4. Restart the bot
Code (YAML):
##########################
#  DISCORD BOT SETTINGS  #
##########################

bot-token
: put-your-token-here
bot-activity
: "Managing the server"

database
:
  host
: localhost
  port
: 3306
  databaseName
: FoxCodeBot
  user
: FoxCodeBot
  password
: superSecretPassword

# Unknown command handling
remove-unknown-commands
: true

command-not-found-embed
:
  enabled
: true
  title
: "Unknown command"
  description
: "Unknown command, try again."
  color
: 0xff0000
Code (YAML):
maximum-tickets-per-user : 3
ticket-creation-admin-role
: Asistant
ticket-channel-category
: Tickets
ping-admin-role-on-creation
: true
ping-admin-role-on-user-response
: true
send-transcription
: true
transcript-description
: "Hello, I'm sending you a transcription of your ticket (in case you need it), thanks for using our ticket system."
transcript-channel
: 927152451423977482 # If there is channel ID defined, it will save transcripts of all tickets here
require-close-confirmation
: true # If set to true, confirmation message will appear on every ticket close

ticket-creator-embed
:
  embed-title
: "Create new ticket"
  embed-description
: "To create ticket, please react with button that corresponds to your issue category."
  embed-colour
: 0xFFA500
  embed-footer
: "FoxCode Ticket System"

ticket-created-embed
:
  embed-title
: "Ticket created!"
  embed-description
: "Your ticket was created: {channel}"
  embed-colour
: 0x00ff00
  embed-footer
: "FoxCode Ticket System"

too-many-tickets-embed
:
  embed-title
: "Too many tickets!"
  embed-description
: "Please, close some other ticket, before creating new one."
  embed-colour
: 0xff0000
  embed-footer
: "FoxCode Ticket System"

ticket-management-embed
:
  embed-title
: "{channel-name}"
  embed-description
: "{instructions}"
  embed-colour
: 0xFFA500
  embed-footer
: "FoxCode Ticket System"
  close-button
: "Close ticket"

missing-role-embed
:
  embed-title
: "Missing role"
  embed-description
: "You need the {role} role to create new ticket in this category!"
  embed-colour
: 0xff0000
  embed-footer
: "FoxCode Ticket System"

confirm-close-embed
:
  embed-title
: "Confirmation"
  embed-description
: "Do you really want to close this ticket?"
  embed-colour
: 0xFFA500
  embed-footer
: "FoxCode Ticket System"
  confirm-button
: "Confirm"

categories
:
  general
:
    admin-role
: Asistant
    name
: General ticket
    emoji
: '❤'
    instructions
: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about the problem."
    required-role
:   # Leave blank if everyone should be able to open ticket in this category
  bug_report
:
    admin-role
: Asistant
    name
: Bug report
    emoji
: ''
    instructions
: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about the bug."
    required-role
:
  feature_request
:
    admin-role
: Asistant
    name
: Feature request
    emoji
: ''
    instructions
: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about what would you like us to implement."
    required-role
: VIP
If you have any questions or need any help, feel free to ask on our Discord server!
----------, Apr 25, 2022
Resource Information
Author:
----------
Total Downloads: 1,743
First Release: Jan 3, 2022
Last Update: Nov 26, 2022
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings