Paste #64875: Untitled Paste

Date: 2020/02/02 17:01:02 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


dbot:
 type: world
 debug: true
 events:
  on server start:
  - yaml load:configs/dbotconfig.yml id:discord_temp
  - discord id:dbot connect code:<yaml[discord_temp].read[bots.discord.botToken]>
  - yaml unload id:discord_temp
  on discord message received:
  - if <context.message.starts_with[/help]>:
   - discord id:dbot message channel:<context.channel> "This command is now workin'"