Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1002 Bytes

README.md

File metadata and controls

46 lines (38 loc) · 1002 Bytes

Challenge Bot

A simple bot for Discord to send programming related challenges & questions.

Installation

Download from Release

Usage

Using Discord channel as a source for challenges.

Send each challenge to the channel and each message should follow this syntax.
Format:

question here
@@@
choice-1
choice-2
choice-3
@@@
choice index here starting from 0

Example:

كيف يمكن تعريف متغيّر في جافا سكريبت (JavaScript) الذي لا يمكن تغييره؟
@@@
let
const
var
@@@
1

Environment Variables

  • DISCORD_CHANNEL_ID
    Channel id to send challenges to.
  • DISCORD_CHANNEL_SOURCE_ID
    Channel id for challenges as described above
    bot requires permission to read messages in this channel
  • CHALLENGE_INTERVAL
    Time between each challenges. Default 15 minutes

Contributors