lunarflu HF staff commited on
Commit
ba22b04
1 Parent(s): c1276e2

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. codellama.py +3 -0
codellama.py CHANGED
@@ -53,6 +53,9 @@ async def on_message(message):
53
  async def try_codellama(ctx, prompt):
54
  """Generates code based on a given prompt"""
55
  try:
 
 
 
56
  global codellama_threadid_userid_dictionary
57
  global codellama_threadid_conversation
58
 
 
53
  async def try_codellama(ctx, prompt):
54
  """Generates code based on a given prompt"""
55
  try:
56
+ if ctx.guild.id == 879548962464493619:
57
+ if ctx.channel.id != 1147210106321256508:
58
+ return
59
  global codellama_threadid_userid_dictionary
60
  global codellama_threadid_conversation
61