Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Quick fix to stop use of server module
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdebever committed Jan 26, 2021
1 parent da4e85f commit 81cd91e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FightCore.Bot/FightCore.Bot/Modules/ServerModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public ServerModule(IServerSettingsService serverSettingsService)
[Command("prefix")]
public async Task SetPrefix(string prefix)
{
return;
if (!(Context.User is SocketGuildUser guidUser))
{
await ReplyAsync("Not in a server");
Expand Down

0 comments on commit 81cd91e

Please sign in to comment.