Skip to content

erhuve/flowershop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLOWER SHOP: A Ticketing Bot for the NYUDiscord

image image Originally a fork of Zuckerbot, but ended up being a completely different bot!

Regardless, it was a great way to boostrap the project, kudos and thanks to my friends who developed it.

The guys who put that together are far more talented than me, check them out!

I made this for the NYU Discord server to let users open tickets with the mods without needing to broadcast it in a public bot command channel.

Flower Shop creates a user-friendly experience with a single button users click to create a private channel with them and the moderators.

For moderators, once they close a ticket, the log is saved, including any attached files such as images.

Commands

  • !button: Initializes the message with the button for users to click. You can delete your message with this command afterwards, or edit it to provide information to your users about the ticketing system.
  • $archive: To be used by moderators in a created ticket channel when done. This will delete the channel and save a log of the messages and any attachments (this will be saved in a separate channel you have created to keep logs)

Setup

You can set up this application for your own bot and your own server. Locally, you will need to replace these values in your .env file, or in Heroku, the Config Vars which can be found in Settings of your application.

  • DISCORD_TOKEN="YOUR DISCORD BOT'S TOKEN"
  • DISCORD_GUILD="THE ID OF YOUR SERVER"
  • MOD_CHANNEL_ID="THE ID OF THE CHANNEL YOU WILL STORE LOGS IN"
  • MOD_ROLE_ID="THE ID OF THE MODERATOR ROLE IN YOUR SERVER"
  • MOD_CATEGORY_ID="THE ID OF THE CATEGORY THAT WILL HOUSE TICKETS"
  • TICKET_CHANNEL_ID="THE ID OF THE CHANNEL THAT YOU WILL INITIALIZE FLOWER SHOP'S TICKETING SYSTEM IN"

Follow these steps for deploying your bot to Heroku to keep it always running. Unless you've made significant changes, you probably only need to start from HOSTING ON HEROKU (keeping in mind to change your Config Vars as mentioned above). If you're confused about the IDs of channels, categories, roles, etc. follow these steps to enable developer mode on your Discord so that you can copy IDs.

About

A ticketing tool Bot for NYU Discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •