Discord Bot Setup

A Discord bot to make everything easy
Initially, Alphabot was built as just a webpage. However, this is not always the easiest user experience for people to enter a raffle! Even with expert responsive mobile styling and connection, users just prefer to stay where they are -- in Discord.
The bot and the website work seamlessly together to allow raffle creators an easy place to configure raffles on the web, and allow users the simplest way to be notified of and enter raffles within Discord or on the web, if they prefer.
Bot raffle configuration can be easily copied to new raffles using the Duplicate option

Enabling the bot

The first step for the raffle creator is to add the bot to their discord server. To do this, click the Add Bot To Server link at the bottom right of the raffle creation page. Or click this link for your convenience. Note: this link will request several permissions. You do not need to enable all of the permissions if you do not intend to use all of the features.
Below are the permissions needed for the different features of the bot. Note: These permissions must be added at the Channel permissions for any channels the bot will post into and not just globally, as channel permissions in Discord will overwrite global permissions! - Announcing Raffles, Winners, Reminders and Daily Launches: Send Messages Embed Links View Channel - Tagging @everyone, @here, or @roles: Mention Everyone - Creating winners roles and/or winners channels: Manage Channels Manage Roles

Announcing Raffles

To tell the bot to announce a raffle, simply check the Connect Bot checkbox in the new raffle page, and paste the channel id for your raffle announcement channel into the Announcement Channel Id field. You can also optionally check the Auto Announce checkbox on the left, which will cause the bot to announce the raffle immediately after it is created.
After the raffle is created, if it is connected to the discord bot, it will now have an option to Announce to Discord which can be used to trigger the announcement if you did not select to auto announce after raffle creation.
Note: Announcement embeds will automatically update in Discord whenever a raffle is edited

Create Role & Channel

The bot can be enabled to create a new role and automatically assign it to the users who won the raffle. By providing a role name, and the necessary permissions of Manage Roles and Manage Channels it will create the role, assign it to the winners, and then create a channel with the same name, giving access to the raffle team and the users with the new role. A section ID can also be provided if you wish to have the channel created within a certain section in your Discord server.