This version (2022/10/25 21:16) was approved by dante557.The Previously approved version (2022/07/23 11:40) is available.Diff

Autohost Raffle

Notes: Due to Twitch removing hosting functionality from the website, this command as it currently stands will not work. This will be migrated to a version where it will perform a raid instead. For now, consider this page defunct

The Autohost Raffle command will allow your bot to create a raffle that will autohost the winner on your channel. This command was originally created to deal with a query a user had regarding having similar features in the bot to electricalskateboard whom I'm sure we've all seen in our channels.

Want to see more community-made custom commands? Click the following link - Link
Need to know how to import this command into your Deepbot? Click the following link - Link


1.0.1

1.0.1 - Updated API reference to refer directly to Twitch
1.0.0 - First public release

VIP Membership - How to Get VIP

  1. Go to the following link AutoHost Raffle Files
  2. Open AutoHost_raffle.txt and copy all the contents in the file
  3. Go into Deepbot and import the command. If you are unsure of how to import commands, click the following Link
  4. Download AutoHost.zip and extract into the “Custom Logs” folder (Found in the same folder Deepbot is installed
  5. If successful in the previous step you should see a folder called “AutoHost” in your “Custom Logs” folder.

!startautohost
Command that initially needs to be run manually. This is set to run every 15 minutes (900 seconds) automatically once it has been triggered.

!hostme
Command that viewers will use to be entered into the raffle.

  • It goes without saying, this command is intended to be used when your stream is OFFLINE. You may wish to disable these commands if they are running before you start your stream up.
  • This command is a looping command so will run until you tell it to stop (Either by disabling the commands or closing the bot).
  • Once the raffle is closed, it will choose an entry at random. If the channel that has been chosen is offline, it will then attempt to go through the list again (The system isn't perfect at the moment, it can potentially choose the same person again). If it has gone through the list 3 times, it will then begin another autohost raffle. The number of attempts can be changed by changing the number in !hostwinner
  • For this command to work you will need to have connected your streamer account to Deepbot. This is because it makes use of @sendstreamermsg@ to send the host command on a successful pass.
  • Be aware that you can host 3 channels in a 30 minute period. You can go as low as 10 minutes (600 seconds) and this command should still work. Any lower than this, however, may cause the command to not work correctly. Default Value: 15 Minutes
  • A random ID is created on the generation of each raffle. This ID is used to check to see if a viewer has entered the raffle before. In the extremely rare case (As in, should never happen) that this ID is the same as the previous, viewers who entered the raffle previously will not be able to enter the raffle unless you delete their text files in the “Users” folder.
  • Any questions please let me know in the Discord. Although my tests with this command have been successful you may find that issues present themselves which you cannot fix.