Date: 2020/02/02 17:01:02 UTC-08:00
Type: Denizen Script
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'"