Skip to content

Commit

Permalink
forgot docs and help
Browse files Browse the repository at this point in the history
forgot docs and help
  • Loading branch information
s0lst1ce committed Mar 29, 2020
2 parents 889614b + 7e8be60 commit 5dc4022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async def make_cfg_chan(self, ctx_or_guild):
return self.config_channels[g.id]

@commands.command()
@is_server_owner()
@has_auth("admin")
async def cfg(self, ctx, cog_name: str):
cog = self.bot.get_cog(cog_name.title())
if not cog:
Expand Down
3 changes: 2 additions & 1 deletion src/lang/poll/help.en
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"poll": ["a suite of commands that lets one have more control over polls", {
"rm": ["allows one to delete one of their poll by issuing its id", "<id>` deletes poll with *id*"],
"status" : ["returns stats about your running polls. This is also called when one of you poll gets deleted.", "` returns nothing"]
"status" : ["returns stats about your running polls. This is also called when one of you poll gets deleted.", "` returns nothing"],
"extended": ["This command creates polls that can have more than the 3 standard reaction but do not support dynamic color. The way to make one is to be write the following command in a poll channel (message discarded otherwise). The message is composed of the description then a line break then, one each following line: an emoji followed by a description each of these lines are separated by a line break", "<description...> <choices...>`"]
}]
}

0 comments on commit 5dc4022

Please sign in to comment.