Giter VIP home page Giter VIP logo

discord-select-menu-ticket-bot's Introduction

Typing SVG

Join Discord Server

This is a Simple Ticket Bot with a Select Menu and its easy to Customize

  • Previews

    Imgur Website

  • Update v.1.8

    • Fixed Bugs
    • Added Created/Closed Timestamp into the Logs
  • Install all Required Modules

          pip install py-cord==2.4.0
    
          pip install asyncio
    
          pip install pytz
    
          pip install datetime
    
          pip install chat-exporter
    
          or you can use pip install -r requirements.txt
  • How to set up config.json

        {
      "token": "",                 <- Your Bot Token from https://discord.dev
      "guild_id": 123,             <- Your Server ID aka Guild ID  
      "ticket_channel_id": 123,    <- Ticket Channel where the Bot should send the SelectMenu + Embed
      "category_id_1": 123,        <- Category 1 where the Bot should open the Ticket for the Ticket option 1
      "category_id_2": 123,        <- Category 2 where the Bot should open the Ticket for the Ticket option 2
      "team_role_id_1": 123,       <- Staff Team role id
      "team_role_id_2": 123,       <- Staff Team role id
      "log_channel_id": 123,       <- Where the Bot should log everything 
      "timezone": "CET"            <- Timezone use https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List and use the Category 'Time zone abbreviation' for example: Europe = CET, America = EST so you put in EST or EST ...
      "embed_title": "Support-Tickets",
      "embed_description": "Here you can open a Support Ticket!"
  • All Commands

    • /ticket
    • /delete
    • /add
    • /remove
  • How to use Custom emojis from your Discors Server in the Select Menu

    • Type in the Chat \ but do not send it, now Choose one Emoji that is one your server and press on it. Now it should look like that \<:emoji_name:emoji_id> now just remove the \ and paste the rest in your Code and here you go.
  • Discord

Apache License 2.0

discord-select-menu-ticket-bot's People

Contributors

agilistikmal avatar simoneeeeeeee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

discord-select-menu-ticket-bot's Issues

Deleted ticket

error: cogs\ticket_system.py", line 215, in delete_button
transcript_info = discord.Embed(title=f"Заявка удалена | {ctx.channel.name}", color=discord.colour.Color.blue())
NameError: name 'ctx' is not defined

Error of transcription

All the ticket this html file is empty with "Whoops! Something went wrong..." in the file.

Question or Help

If you find any bug or want a new feature added you can write in here or via Discord Simone#0782

error: AttributeError: module 'discord' has no attribute 'ui'

[opc@discord-bot-servers Discord-Select-Menu-Ticket-Bot-main]$ python main.py
Traceback (most recent call last):
File "main.py", line 9, in
from cogs.ticket_system import Ticket_System
File "/home/opc/dragon/Discord-Select-Menu-Ticket-Bot-main/cogs/ticket_system.py", line 53, in
class MyView(discord.ui.View):
AttributeError: module 'discord' has no attribute 'ui'
how to fix linux?

Good support

I dmed simone on discord he helped me to fix all the errors and to add more options its a really good bot.

delete() func is bad pratice

I recommend making modifications to the delete() function, its also used in pycord.

line 217

maybe name it to deletechannel or something aslong those lines

Help Please :(

Hello! I know this might sound stupid but how do you run the bot? everything is filled and all installed I just don't know how to run the bot since I'm new to this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.