Skip to content

Commit 771ff96

Browse files
committed
Cleanup and add to app.json
1 parent 02465e7 commit 771ff96

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

app.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
"LOG_URL": {
3131
"description": "The url of the log viewer app for viewing self-hosted logs.",
3232
"required": true
33+
},
34+
"GITHUB_TOKEN": {
35+
"description": "A github personal access token with the repo scope.",
36+
"required": true
3337
}
3438
}
3539
}

cogs/modmail.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,15 +1535,6 @@ async def isenable(self, ctx):
15351535

15361536
return await ctx.send(embed=embed)
15371537

1538-
@commands.command(usage="[after] [close message]")
1539-
@checks.has_permissions(PermissionLevel.SUPPORTER)
1540-
@checks.thread_only()
1541-
async def adduser(self, ctx, *, member: discord.Member = None):
1542-
await ctx.thread.add_user(member)
1543-
1544-
sent_emoji, _ = await self.bot.retrieve_emoji()
1545-
await self.bot.add_reaction(ctx.message, sent_emoji)
1546-
15471538

15481539
def setup(bot):
15491540
bot.add_cog(Modmail(bot))

0 commit comments

Comments
 (0)