Browse Source

starting trivia cog

tags/v1.4.0
roxie 6 years ago
parent
commit
7c516f7b62
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      cogs/trivia.py

+ 21
- 0
cogs/trivia.py View File

@@ -0,0 +1,21 @@
import requests
from config.server_config import ServerConfig

import discord
from discord.ext.commands import bot, group


class Trivia:
"""
Trivia is based off the lovely https://opentdb.com made by PixelTail Games.
"""
def __init__(self, bot_client):
self.bot = bot_client
self.con = ServerConfig()
self.serverconfig = self.con.servers




def setup(Bot):
Bot.add_cog(Trivia(Bot))

Loading…
Cancel
Save