old_contents: import random
  import string
  
  from discord.ext.commands import Context
  
  rand = random.SystemRandom()
  
  
  def display_name(ctx: Context) -> string:
      return ctx.message.author.nick or ctx.message.author.name
  
new_contents: import random
  
  from discord.ext.commands import Context
  
  rand = random.SystemRandom()
  
  
  def display_name(ctx: Context) -> str:
      return ctx.message.author.nick or ctx.message.author.name
  
subject: Fix type hint for display_name in common