Skip to content

Commit

Permalink
store guild_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Baviaan committed Dec 4, 2020
1 parent 91829c5 commit 246d699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meowth/exts/admin/admin_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ async def setlocation(self, ctx, city: str, lat: float, lon: float, radius: floa
if data:
d = dict(data[0])
else:
d = {'channelid': channel_id}
d = {'channelid': channel_id, 'guild_id': ctx.guild.id}
d['city'] = city
d['lat'] = lat
d['lon'] = lon
Expand Down

0 comments on commit 246d699

Please sign in to comment.