created podcast cog
This commit is contained in:
parent
44c0900517
commit
1eddc91da8
3 changed files with 29 additions and 0 deletions
5
podcast/__init__.py
Normal file
5
podcast/__init__.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from .podcast import Podcast
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Podcast(bot))
|
9
podcast/info.json
Normal file
9
podcast/info.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"author" : ["SeaswimmerTheFsh"],
|
||||
"install_msg" : "Thank you for installing Podcast!\nYou can find the source code of this cog here: https://github.com/SeaswimmerTheFsh/GalaxyCogs",
|
||||
"name" : "Podcast",
|
||||
"short" : "Provides a questions submission system.",
|
||||
"description" : "Provies a questions submission system.",
|
||||
"end_user_data_statement" : "This cog does not store any End User Data."
|
||||
}
|
||||
|
15
podcast/podcast.py
Normal file
15
podcast/podcast.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
import discord
|
||||
from datetime import datetime
|
||||
from redbot.core.bot import Red
|
||||
from redbot.core import commands, checks, Config
|
||||
|
||||
class Podcast(commands.Cog):
|
||||
"""Provides a questions submission system for podcasts.
|
||||
Developed by SeaswimmerTheFsh."""
|
||||
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
self.config = Config.get_conf(self, identifier=27548165)
|
||||
self.config.register_guild(
|
||||
submission_channel = 0
|
||||
)
|
Loading…
Reference in a new issue